function shengpay(val) {
  return [
    [
      { title: "基础信息" },
      { text: "商户类型", value: val.merchantText },
      { text: "行业MCC", value: val.mccText },
      { text: "商户联系人姓名", value: val.contactName },
      { text: "商户联系人电话", value: val.contactPhone },
      { text: "商户联系人邮箱", value: val.contactEmail },
    ],
    [
      { title: "经营信息" },
      { text: "商户简称", value: val.mchShortName },
      { text: "商户名称全称", value: val.mchFullName },
      { text: "商户地理位置", value: val.areaText },
      { text: "商户详细地址", value: val.address },
      { text: "门头照", src: val.storeOuterImg },
      { text: "收银台照片", src: val.storeCashierImg },
      { text: "店内环境照", src: val.storeInnerImg },
    ],
    [
      { title: "证件信息" },
      { text: "法人身份证人像面照", src: val.idcard1Img },
      { text: "法人身份证姓名", value: val.idcardName },
      { text: "法人身份证号", value: val.idcardNo },
      { text: "法人身份证国徽面照片", src: val.idcard2Img },
      { text: "法人身份证起始有效期", value: val.idcardEffectBegin },
      { text: "法人身份证结束有效期", value: val.idcardEffectEnd },
      { text: "法人手持身份证照片", src: val.idcardInHandImg },
      { text: "营业执照编号", value: val.licenseNo },
      { text: "营业执照照片", src: val.licenseImg },
      { text: "营业执照起始有效期", value: val.licenseEffectBegin },
      { text: "营业执照有效期截止", value: val.licenseEffectEnd },
    ],
    ownerInfo(val), // 受益人卡片
    [
      { title: "账号信息" },
      { text: "结算账号类型", value: val.settAccountText },
      { text: "结算银行名称", value: val.settAccountBankName },
      {
        text: "结算银行卡分支行所在地区",
        value: val.settAccountBankBranchAreaText,
      },
      { text: "结算银行卡支行名称", value: val.settAccountBankBranchName },
      {
        text: val.settAccountType == "B" ? "开户许可证照片" : "结算银行卡照片",
        src: val.settAccountLicenseImg,
      },
      {
        text: val.settAccountType == "B" ? "对公账号" : "银行卡帐号",
        value: val.settAccountNo,
      },
      { text: "对公账户名称", value: val.companyAccountName },
      { text: "对公账户银行卡号", value: val.companyAccountNo },
      { text: "对公账户开户银行名称", value: val.companyAccountBankName },
      {
        text: "对公账户开户支行所在地区",
        value: val.settAccountBankBranchAreaText,
      },
      {
        text: "对公账户开户支行名称",
        value: val.companyAccountBankBranchName,
      },
      { text: "开户许可证照片", src: val.companyAccountLicenseImg },
      { text: "持卡人身份证号", value: val.settAccountIdcardNo },
      { text: "请输入持卡人身份证号", value: val.settAccountIdcardNo },
      { text: "持卡人身份证人像照", src: val.settAccountIdcard1Img },
      { text: "持卡人身份证国徽面照片", src: val.settAccountIdcard2Img },
      {
        text: "持卡人身份证起始有效期",
        value: val.settAccountIdcardEffectBegin,
      },
      {
        text: "持卡人身份证结束有效期",
        value: val.settAccountIdcardEffectEnd,
      },
    ],
    rate(val),
		[
			{ title: "pos信息" },
			{ type: "posInfo", typevalue: val.posInfoList }
		]
  ];
}
function alipay(val) {
  return [
    [
      { title: "经营信息" },
      { text: "选择产品类型", value: "当面付" },
      { text: "经营类目", value: val.mccText },
      { text: "营业执照图片", src: val.licenseImg },
      { text: "请输入营业执照编号", value: val.licenseNo },
      { text: "营业执照有效期截止", value: val.licenseEffectEnd },
      { text: "特殊资质照", src: val.specialLicenseImg },
    ],
    [
      { title: "门店信息" },
      { text: "商户名称全称", value: val.mchFullName },
      { text: "商户地理位置选择省市县", value: val.areaText },
      { text: "商户详细地址", value: val.address },
      { text: "门头照", src: val.storeOuterImg },
      { text: "店内环境照", src: val.storeInnerImg },
    ],
    [
      { title: "联系人信息" },
      { text: "支付宝账号", value: val.accountNo },
      { text: "商户联系人姓名", value: val.contactName },
      { text: "商户联系人电话", value: val.contactPhone },
      { text: "商户联系人邮箱", value: val.contactEmail },
    ],
    rate(val),
  ];
}
function wxpay(val) {
  return [
    [
      { title: "主体信息" },
      { text: "商户类型", value: val.merchantType == 2 ? "个体" : "企业" },
      { text: "营业执照照片", src: val.licenseImg },
      { text: "营业执照编号", value: val.licenseNo },
      { text: "商户名称全称", value: val.mchFullName },
      { text: "法人身份证人像面照", src: val.idcard1Img },
      { text: "法人身份证国徽面照", src: val.idcard2Img },
      { text: "法人身份证姓名", value: val.idcardName },
      { text: "法人身份证号", value: val.idcardNo },
      { text: "法人身份证起始有效期", value: val.idcardEffectBegin },
      { text: "法人身份证结束有效期", value: val.idcardEffectEnd },
    ],
    ownerInfo(val), // 受益人卡片
    [
      { title: "经营信息" },
      { text: "商户简称", value: val.mchShortName },
      { text: "客服电话", value: val.servicePhone },
      { text: "门店名称", value: val.storeName },
      { text: "商户地理位置", value: val.areaText },
      { text: "商户详细地址", value: val.address },
      { text: "门头照", src: val.storeOuterImg },
      { text: "店内环境照", src: val.storeInnerImg },
    ],
    [
      { title: "结算规则" },
      { text: "结算规则信息", value: val.setRulesText },
      { text: "行业", value: val.mccCode },
      { text: "特殊资质照", src: val.qualifications },
      {
        text: "优惠费率活动",
        value:
          val.activityIndex == 0
            ? "泛行业活动【优惠区间0.2%~0.6%】"
            : "不参与活动",
      },
    ],
    [
      { title: "结算账户" },
      {
        text: "结算账号类型",
        value: val.settAccountType == "C" ? "对私" : "对公",
      },
      { text: "开户名称", value: val.settAccountName },
      { text: "银行卡账号", value: val.settAccountNo },
      { text: "开户行", value: val.settAccountBankName },
      { text: "结算银行卡分支行所在地区", value: val.bankText },
      { text: "开户行支行名称", value: val.settAccountBankBranchName },
    ],
    [
      { title: "超管信息" },
      {
        text: "超管身份",
        value: val.adminIdentity == "legel" ? "法人" : "负责人",
      },
      { text: "超级管理员姓名", value: val.contactName },
      { text: "超级管理员身份证号", value: val.contactIdNumber },
      { text: "手机号", value: val.contactPhone },
      { text: "邮箱", value: val.contactEmail },
    ],
    rate(val),
  ];
}
function zftpay(val) {
  return [
    [
      { title: "主体信息" },
      {
        text: "超管身份",
        value:
          val.merchantType == 1
            ? "个人"
            : val.merchantType == 2
            ? "个体"
            : "企业",
      },
      { text: "营业执照图片", src: val.licenseImg },
      { text: "营业执照编号", value: val.licenseNo },
      { text: "商户名称", value: val.mchFullName },
      { text: "法人身份证人像面照", src: val.idcard1Img },
      { text: "法人身份证姓名", value: val.idcardName },
      { text: "法人身份证号", value: val.idcardNo },
      { text: "法人身份证国徽面照片", src: val.idcard2Img },
      { text: "法人身份证起始有效期", value: val.idcardEffectBegin },
      { text: "法人身份证结束有效期", value: val.idcardEffectEnd },
    ],
    [
      { title: "经营信息" },
      { text: "经营类目", value: val.mccCodeText },
      { text: "资质图片", src: val.industryQualificationImage },
      { text: "商户简称", value: val.mchShortName },
      { text: "商户联系人姓名", value: val.contactName },
      { text: "商户联系人手机号", value: val.contactPhone },
      { text: "商户经营省市县", value: val.areaCodeText },
      { text: "商户详细地址", value: val.address },
      { text: "门头照", src: val.storeOuterImg },
      { text: "店内环境照", src: val.storeInnerImg },
    ],
    [
      { title: "结算账户" },
      {
        text: "结算类型",
        value:
          val.defaultSettleType == "alipayAccount" ? "支付宝账号" : "银行卡",
      },
      { text: "结算支付宝账号", value: val.alipayLogonId },
      {
        text: "账户类型",
        value: val.settAccountType == "C" ? "对私" : "对公",
      },
      { text: "银行开户名", value: val.settAccountName },
      { text: "银行账号", value: val.settAccountNo },
      { text: "银行名称", value: val.settAccountBankName },
      { text: "银行简称", value: val.accountInstId },
      { text: "开户行分支行所在地区", value: val.bankCodeText },
      { text: "开户支行名称", value: val.settAccountBankBranchName },
      { text: "授权函照", src: val.licenseAuthLetterImage },
    ],
    [
      { title: "签约信息站点资料" },
      { text: "签约支付宝账号", value: val.bindingAlipayLogonId },
      { text: "选择服务", value: val.bindingAlipayLogonId },
      { text: "站点信息 ", type: "siteInfos", typevalue: val.siteInfos },
    ],
  ];
}
function sftpay(val) {
  return [
    [
      { title: "主体信息" },
      { text: "商户类型", value: val.merchantText },
      { text: "营业执照照片", src: val.licenseImg },
      { text: "营业执照编号", value: val.licenseNo },
      { text: "商户名称全称", value: val.mchFullName },
      { text: "法人身份证人像面照片", src: val.idcard1Img },
      { text: "法人身份证国徽面照片", src: val.idcard2Img },
      { text: "法人身份证姓名", value: val.idcardName },
      { text: "法人身份证号", value: val.idcardNo },
      { text: "法人身份证结束有效期", value: val.idcardEffectEnd },
    ],
    ownerInfo(val), // 受益人卡片
    [
      { title: "店铺信息" },
      { text: "商户简称", value: val.mchShortName },
      { text: "店铺名称", value: val.storeName },
      { text: "店铺链接", value: val.storeUrl },
      { text: "店铺二维码", src: val.storeUrl },
      { text: "小程序AppID", value: val.miniProgramSubAppid },
    ],
    [
      { title: "超级管理员" },
      {
        text: "超管身份",
        value: val.contactType == "65" ? "经营者/法人" : "负责人",
      },
      { text: "超管姓名", value: val.contactName },
      { text: "超管身份证号码", value: val.contactIdNumber },
      { text: "手机号", value: val.contactPhone },
      { text: "邮箱", value: val.contactEmail },
    ],
    [
      { title: "结算账户" },
      { text: "账户类型", value: val.settAccountText },
      { text: "开户名称", value: val.settAccountName },
      { text: "银行账号", value: val.settAccountNo },
      { text: "开户行", value: val.accountBankNameShow },
      { text: "开户行省市区", value: val.settAccountBankBranchAreaText },
      { text: "支行所在地区", value: val.bankBranchAreaCodeText },
      { text: "支行名称", value: val.settAccountBankBranchName },
    ],
  ];
}
function lklpay(val) {
  return [
    [
      { title: "主体信息" },
      { text: "商户类型", value: val.merchantText },
      { text: "营业执照照片", src: val.licenseImg },
      { text: "营业执照编号", value: val.licenseNo },
      { text: "营业执照起始有效期", value: val.licenseEffectBegin },
      { text: "营业执照有效期截止", value: val.licenseEffectEnd },
      { text: "商户名称", value: val.mchFullName },
      { text: "法人身份证人像面照", src: val.idcard1Img },
      { text: "法人身份证姓名", value: val.idcardName },
      { text: "法人身份证号", value: val.idcardNo },
      { text: "法人身份证国徽面照片", src: val.idcard2Img },
      { text: "法人身份证起始有效期", value: val.idcardEffectBegin },
      { text: "法人身份证结束有效期", value: val.idcardEffectEnd },
    ],
    [
      { title: "经营信息" },
      { text: "经营类目", value: val.mccText },
      { text: "经营内容", value: val.merBusiText },
      { text: "商户联系人姓名", value: val.contactName },
      { text: "商户联系人手机号", value: val.contactPhone },
      { text: "商户经营省市县", value: val.areaText },
      { text: "商户经营地址", value: val.address },
      { text: "门头照", src: val.storeOuterImg },
      { text: "店内环境照", src: val.storeInnerImg },
    ],
    [
      { title: "结算账户" },
      {
        text: "账户类型",
        value: val.settAccountType == "C" ? "对私" : "对公",
      },
      { text: "银行开户名", value: val.settAccountName },
      { text: "银行账号", value: val.settAccountNo },
      // { text: "结算周期", value: val.settleText },
      { text: "结算人身份证号", value: val.settAccountIdcardNo },
      {
        text: "结算人身份证结束有效期",
        value: val.settAccountIdcardEffectEnd,
      },
      // { text: "POS类型", value: val.posText },
      { text: "其他材料", value: val.otherFile },
    ],
    rate(val),
  ];
}
function ysfpay(val) {
  return [
    [
      { title: "基础项" },
      {
        text: "商户类型",
        value:
          val.merchantType == 1
            ? "个人"
            : val.merchantType == 2
            ? "个体工商户"
            : "企业",
      },
      {
        text: "机构类型",
        value:
          val.acqOrgType == "RYX"
            ? "瑞银信"
            : val.acqOrgType == "ZF"
            ? "中付"
            : "其他",
      },
      { text: "营业执照照片", src: val.licenseImg },
      { text: "营业执照编号", value: val.licenseNo },
      { text: "营业执照有效期截止", value: val.licenseEffectEnd },
      { text: "商户名称", value: val.mchFullName },
      { text: "法人身份证人像面照", src: val.idcard1Img },
      { text: "法人身份证姓名", value: val.idcardName },
      { text: "法人身份证号", value: val.idcardNo },
      { text: "法人身份证国徽面照片", src: val.idcard2Img },
    ],
    [
      { title: "经营信息" },
      { text: "经营类目", value: val.mccText },
      { text: "商户联系人姓名", value: val.contactName },
      { text: "商户联系人手机号", value: val.contactPhone },
      { text: "客服电话", value: val.serviceTel },
      { text: "邮箱地址", value: val.contactEmail },
      { text: "商户经营省市县", value: val.areaText },
      { text: "商户经营地址", value: val.address },
      { text: "门头照", src: val.storeOuterImg },
      { text: "门店外景照", src: val.storeOuter2Img },
      { text: "店内环境照", src: val.storeInnerImg },
      { text: "收银台照", src: val.storeCashierImg },
    ],
    [
      { title: "结算账户" },
      {
        text: "账户类型",
        value:
          val.settleAccountType == 1
            ? "对公"
            : val.settleAccountType == 2
            ? "对私"
            : "授权人账户",
      },
      { text: "结算周期", value: val.settleText },
      { text: "银行卡正面照", src: val.settAccountLicenseImg },
      { text: "银行开户名", value: val.settAccountName },
      { text: "银行预留手机号", value: val.openBankReservePhone },
      { text: "银行账号", value: val.settAccountNo },
      { text: "银行名称", value: val.settAccountBankName },
      { text: "开户支行名称", value: val.settAccountBankBranchName },
      { text: "联行行号", value: val.openBankCode },
      { text: "被授权人证件人像照", src: val.settAccountIdcard1Img },
      { text: "被授权人证件国徽照", src: val.settAccountIdcard2Img },
      { text: "被授权人身份证号", value: val.settAccountIdcardNo },
      { text: "结算授权证书", src: val.applymentDetailInfo },
      { text: "开户许可证", src: val.applymentDetailInfo },
      { text: "商户收单协议", src: val.acquiringAgreementPhoto },
      { text: "拓展资料", src: val.reserve1 },
    ],
    rate(val),
  ];
}
function fuioupay(val) {
  return [
    [
      { title: "基础信息" },
      {
        text: "商户类型",
        value:
          val.merchantType == 1
            ? "个人"
            : val.merchantType == 2
            ? "个体工商户"
            : "企业",
      },
      { text: "证件类型", value: val.licenseText },
      { text: "营业执照照片", src: val.licenseImg },
      { text: "商户名称全称", value: val.mchFullName },
      {
        text: val.licenseType == "A" ? "身份证号码" : "营业执照号",
        value: val.licenseNo,
      },
      { text: "营业执照注册地址", value: val.licRegisAddr },
      { text: "证件有效期开始时间", value: val.licenseEffectBegin },
      { text: "营业执照有效期截止", value: val.licenseEffectEnd },
      { text: "法人身份证人像面照", src: val.idcard1Img },
      { text: "法人身份证姓名", value: val.idcardName },
      { text: "法人身份证号", value: val.idcardNo },
      { text: "法人身份证国徽面照片", src: val.idcard2Img },
      { text: "法人身份证起始有效期", value: val.idcardEffectBegin },
      { text: "法人身份证结束有效期", value: val.idcardEffectEnd },
    ],
    [
      { title: " 经营信息" },
      { text: "经营类目", value: val.mccText },
      { text: "商户简称", value: val.mchShortName },
      { text: "客服电话", value: val.servicePhone },
      { text: "商户经营地区县代码", value: val.areaText },
      { text: "商户详细地址", value: val.address },
      { text: "门头照", src: val.storeOuterImg },
      { text: "店内环境照", src: val.storeInnerImg },
      { text: "商户联系人姓名", value: val.contactName },
      { text: "商户联系人身份证号", value: val.contactCertNo },
      { text: "商户联系人电话", value: val.contactPhone },
      { text: "商户联系人邮箱", value: val.contactEmail },
    ],
    [
      { title: "结算账户" },
      { text: "账户类型", value: val.settAccountText },
      { text: "结算银行卡照片", src: val.settAccountLicenseImg },
      { text: "开户许可证照片", src: val.companyAccountLicenseImg },
      { text: "开户名称", value: val.settAccountName },
      { text: "银行账号", value: val.settAccountNo },
      { text: "开户行", value: val.settAccountBankName },
      { text: "联行号", value: val.interBankNo },
      { text: "开户支行名称", value: val.settAccountBankBranchName },
      { text: "法人入账标识", value: val.acntArtifText },
      { text: "入账账户身份证人像面照片", src: val.settAccountIdcard1Img },
      { text: "入账非法人证明照片", src: val.acntArtifImg },
      { text: "入账证件号", value: val.acntCertifId },
      { text: "入账证件到期日", value: val.acntCertifExpireDt },
      { text: "清算类型", value: val.settleText },
    ],
    [
      { title: "补充资料" },
      { text: "组织机构代码证照片", src: val.organizationImg },
      { text: "税务登记证照片", src: val.taxRegistrationImg },
      { text: "手持证件照片", src: val.handCertificateImg },
      { text: "补充资料照片", src: val.additionImg },
    ],
  ];
}
function dgpay(val) {
  return [
    [
      { title: "主体信息" },
      { text: "商户类型", value: val.merchantType == 1 ? "个人" : "企业" },
      { text: "营业执照", src: val.licenseImg },
      { text: "商户简称", value: val.mchShortName },
      { text: "营业执照编号", value: val.licenseNo },
      { text: "营业执照起始有效期", value: val.licenseEffectBegin },
      { text: "营业执照有效期截止", value: val.licenseEffectEnd },
      { text: "商户名称", value: val.mchFullName },
			{ text: "管理员账号", value: val.loginUserName },
      { text: "法人身份证人像面照片", src: val.idcard1Img },
      { text: "法人身份证国徽面照片", src: val.idcard2Img },
      { text: "法人身份证姓名", value: val.idcardName },
      { text: "法人身份证号", value: val.idcardNo },
      { text: "法人身份证起始有效期", value: val.idcardEffectBegin },
      { text: "法人身份证结束有效期", value: val.idcardEffectEnd },
    ],
    [
      { title: "经营信息" },
      { text: "经营类目", value: val.mccText },
      { text: "经营类型", value: val.busiTypeText },
      { text: "小票名称", value: val.receiptName },
      { text: "公司类型", value: val.entText },
      { text: "联系人姓名", value: val.contactName },
      { text: "联系人手机号", value: val.contactPhone },
      { text: "联系人邮箱", value: val.contactEmail },
      { text: "经营省市县", value: val.areaText },
      { text: "经营地址", value: val.address },
      { text: "客服电话", value: val.servicePhone },
    ],
    [
      { title: "结算账户" },
      {
        text: "账户类型",
        value:
          val.settAccountType == "B"
            ? "对公"
            : val.settAccountType == "C"
            ? "对私"
            : "对私非法人",
      },
      { text: "银行卡开户名", value: val.settAccountName },
      { text: "结算卡正面", src: val.settAccountLicenseImg },
      { text: "结算卡反面", src: val.settBankCardBackImg },
      { text: "银行卡号", value: val.settAccountNo },
      { text: "银行卡开户地", value: val.settAccountBankBranchAreaText },
      { text: "银行编码", value: val.bankCode },
      { text: "联行行号", value: val.branchCode },
      { text: "结算人身份证人像面照片", src: val.settAccountIdcard1Img },
      { text: "结算人身份证国徽面照片", src: val.settAccountIdcard2Img },
      { text: "[持卡人]人身份证号", value: val.settAccountIdcardNo },
      {
        text: "[持卡人]身份证起始有效期",
        value: val.settAccountIdcardEffectBegin,
      },
      {
        text: "[持卡人]身份证结束有效期",
        value: val.settAccountIdcardEffectEnd,
      },
      { text: "[持卡人]手机号", value: val.settAccountBindPhone },
    ],
    [
      { title: "材料信息" },
      { text: "业务类型", value: val.cashText },
      { text: "手续费类型", value: val.selectFeeText },
      { text: "提现手续费（固定/元）", value: val.fixAmt },
      { text: "费率（百分比/%）", value: val.feeRate },
      { text: "结算周期", value: val.settleCycleText },
      { text: "起结金额（元）", value: val.minAmt },
      { text: "留存金额（元）", value: val.remainedAmt },
      { text: "门头照", src: val.storeOuterImg },
      { text: "店内环境照", src: val.storeInnerImg },
      { text: "收银台照", src: val.storeCashierImg },
      { text: "组织机构代码证照片", src: val.orgCodePic },
      { text: "开户许可证照片", src: val.companyAccountLicenseImg },
      { text: "税务登记证照片", src: val.taxRegPic },
			{ text: "商务协议", src: val.bankPic },
      { text: "D1结算协议图片", value: val.settleAgreePic },
      { text: "授权委托书", value: val.authEnturstPic },
			{ text: "支付宝商户经营类目", value: val.aliMccText },
    ],
  ];
}

function utmpay(val) {
  return [
    [
      { title: "基础项" },
      {
        text: "商户类型",
        value: val.merchantType == "2" ? "个体工商户" : "企业",
      },
      {
        text: "执照类型",
        value:
          val.businessLicenseType == "00"
            ? "统一社会信用代码证号(三证合一) "
            : obj.businessLicenseType == "01"
            ? "营业执照(非三证合一)"
            : "其他",
      },
      { text: "营业执照图片", src: val.licenseImg },
      { text: "营业执照编号", value: val.licenseNo },
      { text: "法人姓名", value: val.legalPerson },
      { text: "商户名称", value: val.mchFullName },
      { text: "商户简称", value: val.mchShortName },
      { text: "法人身份证人像面照", src: val.idcard1Img },
      { text: "法人身份证国徽面照", src: val.idcard2Img },
      { text: "联系人身份证姓名", value: val.idcardName },
      { text: "联系人身份证号", value: val.idcardNo },
      { text: "商户联系人手机号", value: val.contactPhone },
      { text: "商户联系人邮箱", value: val.contactEmail },
    ],
    [
      { title: "经营信息" },
      { text: "经营类目", value: val.mccText },
      { text: "商户地理位置省市县", value: val.areaText },
      { text: "商户经营地址", value: val.address },
      { text: "客服电话", value: val.customerPhone },
      { text: "门头照", src: val.storeOuterImg },
      { text: "店内环境照", src: val.storeInnerImg },
    ],
    [
      { title: "账户信息" },
      { text: "账户类型", value: val.settAccountType == "C" ? "个人" : "企业" },
      { text: "是否为负责人", value: val.isContactInfo == "1" ? "是" : "否" },
      { text: "银行开户名", value: val.settAccountName },
      { text: "持卡人身份证号", value: val.settAccountIdcardNo },
      { text: "银行预留手机号", value: val.bankCardPhone },
      { text: "银行卡照片", src: val.settAccountLicenseImg },
      { text: "银行账号", value: val.settAccountNo },
      { text: "开户行省市县", value: val.settAccountBankBranchAreaText },
      { text: "开户行支行名称", value: val.settAccountBankBranchName },
      { text: "开户银行ID", value: val.bankId },
      { text: "银行账号", value: val.settAccountNo },
      { text: "联行行号", value: val.contactLine },
    ],
    [
      { title: "其他信息" },
      { text: "商户协议照片1", src: val.protocolPhoto1 },
      { text: "商户协议照片2", src: val.protocolPhoto2 },
      { text: "商户协议照片3", src: val.protocolPhoto3 },
      { text: "商户协议照片4", src: val.protocolPhoto4 },
      { text: "其他资料照片", src: val.otherDoc },
      { text: "组织机构代码证照片", src: val.orgPhoto },
    ],
  ];
}

function yspay(val) {
  return [
    [
      { title: "基础项" },
      {
        text: "商户类型",
        value:
          val.merchantType == 1
            ? "小微商户"
            : val.merchantType == 2
            ? "个体商户"
            : "企业",
      },
      { text: "营业执照照片", src: val.licenseImg },
      { text: "营业执照编号", value: val.licenseNo },
      { text: "营业执照起始有效期", value: val.licenseEffectBegin },
      { text: "营业执照有效期截止", value: val.licenseEffectEnd },
      {
        text: val.merchantType == 1 ? "商户名称" : "营业执照名称",
        value: val.mchFullName,
      },
      { text: "商户简称", value: val.mchShortName },
      { text: "法人身份证人像面照", src: val.idcard1Img },
      { text: "法人身份证国徽面照片", src: val.idcard2Img },
      { text: "法人手持身份证照片", src: val.idcardInHandImg },
      { text: "法人身份证姓名", value: val.idcardName },
      { text: "法人身份证号", value: val.idcardNo },
      { text: "法人地址", value: val.idcardAddress },
      { text: "法人电话", value: val.legalPersonPhone },
      { text: "法人性别", value: val.crpGender == 0 ? "男" : "女" },
      { text: "法人职业", value: val.crpProfessionText },
      { text: "法人身份证起始有效期", value: val.idcardEffectBegin },
      { text: "法人身份证结束有效期", value: val.idcardEffectEnd },
    ],
    [
      { title: "经营信息" },
      { text: "经营类目（MCC）", value: val.mccText },
      { text: "实际控制人姓名", value: val.actualManager },
      { text: "是否为法人信息", value: val.isLegalInfo == 1 ? "是" : "否" },
      { text: "商户联系人姓名", value: val.contactName },
      { text: "商户联系人手机号", value: val.contactPhone },
      { text: "商户联系人邮箱", value: val.contactEmail },
      { text: "商户经营省市县", value: val.areaText },
      { text: "商户经营地址", value: val.address },
      { text: "门头照", src: val.storeOuterImg },
      { text: "店内环境照", src: val.storeInnerImg },
      { text: "收银台照", src: val.storeCashierImg },
    ],
    [
      { title: "结算账户" },
      { text: "账户类型", value: val.settAccountType == "C" ? "对私" : "对公" },
      {
        text: "结算类型",
        value: val.settlementType == "00" ? "结算至内部" : "结算至银行卡",
      },
      { text: "银行开户名", value: val.settAccountName },
			{ text: "开户许可证照片", value: val.companyAccountLicenseImg },
      { text: "银行卡正面照", src: val.settAccountLicenseImg },
      { text: "银行卡反面照", src: val.settAccountBankImg2 },
      { text: "银行卡账号", value: val.settAccountNo },
      { text: "开户行编号", value: val.bankType },
      { text: "银行名称", value: val.settAccountBankName },
      { text: "开户行行号", value: val.openAccBanktype },
      { text: "开户行支行名称", value: val.settAccountBankBranchName },
      { text: "开户行省市县", value: val.bankText },
      { text: "银行预留手机号", value: val.bankMobile },
      {
        text: "是否法人结算",
        value: val.codeLegalPersonAcc == "0" ? "非法人" : "法人",
      },
      { text: "结算人身份证人像面照片", src: val.settAccountIdcard1Img },
      { text: "结算人身份证国徽面照片", src: val.settAccountIdcard2Img },
      { text: "结算人姓名", value: val.unincorporatedName },
      { text: "结算人身份证号", value: val.settAccountIdcardNo },
      { text: "结算人证件有效期", value: val.settAccountIdcardEffectEnd },
      { text: "结算人身份证地址", value: val.authAddress },
    ],
    rate(val),
  ];
}
function lklspay(val) {
  return [
    [
      { title: "基础项" },
      {
        text: "商户类型",
        value:
          val.merchantType == 1
            ? "小微商户"
            : val.merchantType == 3
            ? "企业"
            : "'",
      },
      {
        text: "营业执照名称",
        value: val.merchantType == 1 ? "" : val.mchFullName,
      },
      { text: "营业执照照片", src: val.licenseImg },
      { text: "营业执照编号", value: val.licenseNo },
      { text: "营业执照起始有效期", value: val.licenseEffectBegin },
      { text: "营业执照有效期截止", value: val.licenseEffectEnd },
      { text: "商户注册名称", value: val.merRegName },
      { text: "商户经营名称", value: val.mchShortName },

      { text: "法人身份证人像面照", src: val.idcard1Img },
      { text: "法人身份证国徽面照片", src: val.idcard2Img },
      { text: "法人手持身份证照片", src: val.idcardInHandImg },
      { text: "法人身份证姓名", value: val.idcardName },
      { text: "法人身份证号", value: val.idcardNo },
      { text: "法人身份证起始有效期", value: val.idcardEffectBegin },
      { text: "法人身份证结束有效期", value: val.idcardEffectEnd },
    ],
    [
      { title: "经营信息" },
      { text: "经营类目（MCC）", value: val.mccText },
      { text: "商户联系人姓名", value: val.contactName },
      { text: "商户联系人手机号", value: val.contactPhone },
      { text: "商户联系人邮箱", value: val.contactEmail },
      { text: "商户经营省市县", value: val.areaText },
      { text: "门头照", src: val.storeOuterImg },
      { text: "店内环境照", src: val.storeInnerImg },
      { text: "收银台照", src: val.storeCashierImg },
      { text: "经纬度地址", value: val.address },
    ],
    [
      { title: "结算账户" },
      { text: "账户类型", value: val.settAccountType == "C" ? "对私" : "对公" },

      { text: "银行开户名", value: val.settAccountName },

      { text: "银行卡账号", value: val.settAccountNo },
      { text: "支行地址", value: val.settAccountBankBranchAreaText },
      { text: "银行名称", value: val.settAccountBankName },
      { text: "联行行号", value: val.openningBankCode },
      { text: "清算行号", value: val.clearingBankCode },

      {
        text: "是否法人结算",
        value: val.codeLegalPersonAcc == "0" ? "非法人" : "法人",
      },
      { text: "结算人身份证人像面照片", src: val.settAccountIdcard1Img },
      { text: "结算人身份证国徽面照片", src: val.settAccountIdcard2Img },
      { text: "结算人姓名", value: val.unincorporatedName },
      { text: "结算人身份证号", value: val.settAccountIdcardNo },
      { text: "结算人证件有效期", value: val.settAccountIdcardEffectEnd },
      { text: "结算人身份证地址", value: val.authAddress },
      { text: "其他材料", value: val.otherFile },
    ],
    rate(val),
  ];
}
// 费率
function rate(val) {
  return ["fee", val.paywayFeeList ? val.paywayFeeList : ""];
}

// 受益人卡片
function ownerInfo(val) {
  return [
    "owner",
    val.companyBeneficiaryList && val.companyBeneficiaryList.length > 0
      ? val.companyBeneficiaryList
      : "",
  ];
}

export default {
  shengpay,
  alipay,
  wxpay,
  sftpay,
  lklpay,
  ysfpay,
  fuioupay,
  dgpay,
  utmpay,
  yspay,
  lklspay,
};
